<div class="container-fluid">
    <ol class="breadcrumb">
        <li class="active"><i class="icon-home"></i> <?php echo HOME;?></a></li>
    </ol>

</div>
<div class="text-center bg-primary container-fluid">
    <h1><?php echo ROOT_TITLE;?></h1>
    <h3 class="small"><?php echo ROOT_SUBTITLE;?></h3>
    <div id="button-table"></div>
    <br>
</div>
<script>
    $(document).ready(function () {
        a = "<?php echo cookie::get('isLogin');?>";
        if (a === "yes"){
            $("#button-table").append('<button onclick="self.window.location=\'./?/main\';" type="button" class="btn btn-info btn-lg"><?php echo INTO_MAIN;?> <i class="icon-circle-arrow-right"></i></button>\n')
        }else {
            $("#button-table").append('<button onclick="self.window.location=\'./?/login\';" type="button" class="btn btn-info btn-lg"><?php echo LOGIN;?> <i class="icon-signin"></i></button>\n');
            $("#button-table").append('<button onclick="self.window.location=\'./?/register\';" type="button" class="btn btn-info btn-lg"><?php echo REGISTER;?> <i class="icon-signout"></i></button>\n');
        }
    });
</script>
</body>

